<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册</title>
</head>
<body style="background:#FFF68F">
<div style="width: 1024px;height: 500px;margin: 0 auto;font-size: 20px;color: #099;">
	<h4 style="text-align: center;">萌宠家园欢迎你</h4>
		<form action="register" method="post" style='margin:auto auto auto 35%;'>
			用户名:<input id="username" type="text" name="username" placeholder="请填写真实姓名" value="${user.username}"><br><br>
			密码:<input id="password" type="password" name="password" placeholder="密码6~18位，以字母开头，只能包含字母、数字和下划线" value="${user.password }"><br><br>
			性别:<input id="sex" type="radio" name="sex" value="男">男 <input id="sex" type="radio" name="sex" value="女">女<br><br>
			地址:<input id="address" type="text" name="address" placeholder="请填写真实地址" value="${user.address}"><br><br>
			手机号码:<input id="phone" type="text" name="phone" placeholder="请填写真实号码" value="${user.phone}"><br><br> 
			爱好:<input id="hobby" type="text" name="hobby" placeholder="请填写爱好" value="${user.hobby}"><br><br>
			充值：<input id="account" type="text" name="account" placeholder="请填写充值金额" value="${user.account}"><br><br>
			<input id="formsubmit" type="submit" value="点击注册" style="margin: auto auto auto 100px">
		</form>
	</div>
</body>
</html>